<%-- 
    Document   : deleteFinancial
    Created on : Sep 17, 2012, 3:20:18 PM
    Author     : VANANH
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@taglib prefix="rich" uri="http://richfaces.org/rich" %>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j" %>
<html>
    <head>
        <link rel="stylesheet" type="text/css" href="../css/popup.css"/>
        <link rel="stylesheet" type="text/css" href="../css/kapiform.css"/>
    </head>
    <script type="text/javascript">
        var open_cur = 0;
        $j = jQuery.noConflict();
        $j(document).ready(function(){

           
            validateform("form-input-customer");
        });

    </script>
    <f:view>
        <h:form id="form-input-customer" >
            <body style=" float:left; width:auto; height:auto; margin:0px;">
            <f:loadBundle basename="#{environmentSession.localizationSource}" var="locale"/>

            <div class="popup" style="height:167px; width:350px">
                <div class="popup-header">
                    <div class="title"><h:outputText value="Hủy thu/chi tài chính" /></div>
                </div>
                <div class="popup-content">
                    <div class="main_content">
                        <div class="form_item_content">

                            <div class="item_content" style="display:block">
                                <div class="fields_input" style="margin-left:  30px;">
                                    <label style="width: auto;"><h:outputText value="Lý do hủy" /><span>*</span>:</label>
                                    <h:inputText value="#{T950Bean.tv968}" styleClass="required" id="cusname" style="width:197px;"/>

                                </div>
                            </div>
                        </div>
                                    <div class="alert" style="margin-left: 100px;margin-top: 5px;"></div>
                    </div>

                </div>

                <div class="popup-footer">

                    <div class="buttonsave" style="margin-right: 60px;" onclick="parent.jQuery.fancybox.close(); "  ><span><h:outputText value="#{locale.close}"/></span></div>
                    <h:commandButton   onclick="return validatecheck('form-input-customer');"  action="#{T950Bean.deleteT950}" value="#{locale.save}" styleClass="buttonsave">

                    </h:commandButton>
                    <h:inputHidden value="#{T950Bean.pt950}" id="pt950"/>
                    <h:inputHidden value="#{T950Bean.papeload}" id="papeload"/>
                </div>

            </div>
            </body>
        </h:form>
    </f:view>
</html>
<script type="text/javascript">
    $j(document).ready(function(){
        yhight = ($j('.popup').height()-90)+"px" ;
        $j('.main_content').css('height',yhight );
        $j('.popup-content').css('height',yhight );
    });
</script>
